<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link href="__PUBLIC__/Css/manager.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="__PUBLIC__/Js/jquery-1.7.2.min.js"></script>
    <script type="text/javascript">
        $(document).ready(function(){
            $("#newsAddBtn").click(function(){
                window.location.href="__APP__/News/add";
            });
			$('table tr').hover(function(){
				$(this).addClass('hover');
			},function(){
				$(this).removeClass('hover');
			});
        })
    </script>
</head>
<body>
<div>
    <h2>信息类型列表 </h2>
    <div>
        <table cellspacing="0" border="0">
            <tr class="title">
                <th>ID</th>
                <th>信息类型</th>
                <th>信息标题</th>
                <th>信息索引</th>
                <!--<th>信息内容</th>-->
                <th>作者</th>
                <th>创建时间</th>
                <th>点击次数</th>
                <th>操作</th>
            </tr>
            <volist name="newsList" id="news">
                <tr>
                    <td>{$news["id"]}</td>
                    <td>{$news["newstype"]}</td>
                    <td>{$news["title"]}</td>
                    <td>{$news["newsindex"]}</td>
                    <!--<td>{$news["content"]}</td>-->
                    <td>{$news["author"]}</td>
                    <td>{$news["createtime"]|date="Y-m-d H:i:s",###}</td>
                    <td align="center">{$news["clicktimes"]}</td>
                    <td>
                        <a href="__APP__/News/view/id/{$news['id']}">修改</a>
                        <br>
                        <a href="__APP__/News/delete/id/{$news['id']}">删除</a>
                    </td>
                </tr>
            </volist>
        </table>
        <div align="right">{$page}</div>
    </div>
	<div align="left">
        <input type="button" value="添加信息" id="newsAddBtn">
    </div>
</div>
</body>
</html>